/*
 * Copyright 2002-2012 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.aop;

/**
 * 提供描述介绍的必要信息的界面。
 *
 * {@link IntroductionAdvisor IntroductionAdvisors}必须实现这个接口。
 * 如果一个{@link org.aopalliance.aop.Advice}实现了这个。
 * 它可以被用作介绍，而不需要{@link IntroductionAdvisor}。
 * 在这种情况下，建议是自我描述的，不仅提供了必要的行为，而且描述了它所引入的接口。
 *
 * @author Rod Johnson
 * @since 1.1.1
 */
public interface IntroductionInfo {

	/**
	 * 返回该顾问或建议所引入的额外接口。
	 * @return 引入的接口
	 */
	Class<?>[] getInterfaces();

}
